<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html>
<ui:composition template="/template/internet-template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:jsf="http://xmlns.jcp.org/jsf"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html">
    <ui:define name="title">Usuário</ui:define>
    <ui:define name="container">
        
        <h:panelGroup rendered="${userManagedBean.viewState == 1}">
            <ui:include src="list.xhtml"/>
        </h:panelGroup>
        <h:panelGroup rendered="${userManagedBean.viewState == 2}">
            <ui:include src="form.xhtml"/>
        </h:panelGroup>
        
    </ui:define>    
</ui:composition>

